<?php
namespace app\index\controller;

use app\common\enums\ResultEnum;
use think\Controller;
use app\common\exception\ZeduException;

class Base extends Controller
{
    public function initialize(){
       if(empty(session('admin.id'))){
            throw new ZeduException(ResultEnum::LOGIN_EXPIRES);
        }else{
            
        }
    }
}

